<?xml version="1.0" encoding="UTF-8"?>

<!--
  This file is definitely not valid XHTML.  It's just got lots of junky
  tags to test HTMLFilterTest.  The filter skips almost everything it
  does not know is safe, so most of this doc disappears during filtering.

-->

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<![CDATA[ this stuff is skipped ]]>

<!-- Even the html tags are skipped -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<!-- These tags must have no attributes (extras are stripped). -->
<abbr removeMe=true" andMe="too" />
<acronym removeMe=true" />
<address removeMe=true" />
<b removeMe=true" />
<bdo removeMe=true" />
<big removeMe=true" />
<center removeMe=true" />
<cite removeMe=true" />
<code removeMe=true" />
<dfn removeMe=true" />
<em removeMe=true" />
<i removeMe=true" />
<kbd removeMe=true" />
<s removeMe=true" />
<samp removeMe=true" />
<small removeMe=true" />
<span removeMe=true" />
<strike removeMe=true" />
<strong removeMe=true" />
<sub removeMe=true" />
<sup removeMe=true" />
<tt removeMe=true" />
<u removeMe=true" />
<var removeMe=true" />

<!-- All these tags are unsafe. -->

<script foo="bar">danger here</script>
<style>this stuff disappears</style>
<option>so does this forms stuff</option>
<select>including select</select>
<textarea x="y">and text areas are forbidden</textarea>

<!-- These attributes can be used in all tags below (see h1-h6): "dir", "lang", "title", "style", "id", "class", "contenteditable" -->

<!-- These tags with attributes are safe but the sneaky attributes at the end will be stripped. -->

<a charset="ack" href="http://some:1234/far/off/resource" hreflang="arf" name="xyz" rel="link" rev="1" shape="oblong" tabindex="33" type="weird" unsafeAttribute="true">abc</a>
<blockquote cite="something" anotherUnsafeAttribute="true">four score and seven years ago</blockquote>
<br clear="windows" />
<caption align="under">hello!</caption>
<col align="sideways" char="e" charoff="123" span="short" valign="top" width="fat">Ionic</col>
<colgroup align="slanty" char="black" charoff="100" span="slim" valign="low" width="medium" anotherSneakyUnsafe="here" />
<del cite="huh?" datetime="Monday">what's a del?</del>
<dir compact="very" ignoreThisAttribute="yes"></dir>
<div align="under" IGNORE="very">divvy</div>
<dl compact="blackhole" />
<font color="nonemoreblack" face="surprised" size="2345">fonty</font>
<h1 align="left" title="title">one</h1>
<h2 align="left" id="id">two</h2>
<h3 align="left" class="first" lang="english">three</h3>
<h4 align="left" style="margin: 0px">four</h4>
<h5 align="left" contenteditable="false">five</h5>
<h6 align="left">six</h6>
<hr align="right" size="100px" width="100px" />
<img align="behind" alt="text" border="1px solid marble" height="1in" hspace="ack" ismap="true" longdesc="long text" name="asdf" src="http://some/far/image.png" usemap="false" vspace="something" width="100px" alt2="x" src2="y" scaryUnsafeScriptAttribute="please" />
<ins cite="books" datetime="yesterday">ins</ins>
<li type="item" value="xyz">item</li>
<map name="imagemap?" />
<menu compact="true">choices here?</menu>
<ol compact="false" start="1" type="list"><li>1</li></ol>
<p align="center">text</p>
<pre width="40">formatted text</pre>
<q cite="some thing">asdf</q>
<table align="right" border="1" cellpadding="2" cellspacing="4" frame="no" rules="strict" summary="short" width="100" caption="good table">table tags</table>
<tbody align="right" char="a" charoff="3" valign="top" />
<td abbr="abbr" align="left" axis="evil" char="e" charoff="3" colspan="2" headers="no" height="some" nowrap="true" rowspan="3" scope="mouthwash" valign="bottom" width="billions">td</td>
<tfoot align="right" char="d" charoff="4" valign="bottom" SneakyUnsafeAttribute="here" />
<th abbr="abbr" align="left" axis="evil" char="e" charoff="3" colspan="2" headers="no" height="some" nowrap="true" rowspan="3" scope="mouthwash" valign="bottom" width="billions">th</th>
<thead align="right" char="d" charoff="4" valign="bottom" SneakyUnsafeAttribute="here" />
<tr align="right" char="d" charoff="4" valign="bottom" SneakyUnsafeAttribute="here">tr</tr>
<ul compact="false" type="list"><li>1</li></ul>
<dd>dd</dd>
<dt>dt</dt>

<!-- Javascript attributes are unsafe but the rest remains. -->

<p>some lead text before <a javascript="this attribute must disappear but the anchor remains" charset="utf-8">some link we need to see</a> appears</p>

<!-- Javascript link anchors disappear. -->
<p><a href="javascript:alert('sneaky')">innocent text</a></p>

<!-- More innocent stuff -->

<div>final div</div>

<!-- Even the html tags are skipped -->
</html>